﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication4
{
    public partial class HoaHong : Form
    {
        public HoaHong()
        {
            InitializeComponent();
        }

        private void hoaHongBindingNavigatorSaveItem_Click(object sender, EventArgs e)
        {
            this.Validate();
            this.hoaHongBindingSource.EndEdit();
            this.tableAdapterManager.UpdateAll(this.loanPSDataSet);

        }

        private void HoaHong_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'loanPSDataSet.KheUoc' table. You can move, or remove it, as needed.
            this.kheUocTableAdapter.Fill(this.loanPSDataSet.KheUoc);
            // TODO: This line of code loads data into the 'loanPSDataSet.HoaHong' table. You can move, or remove it, as needed.
            this.hoaHongTableAdapter.Fill(this.loanPSDataSet.HoaHong);

        }

        private void groupBox1_Enter(object sender, EventArgs e)
        {

        }

        private void pictureBox1_Click(object sender, EventArgs e)
        {
            DialogResult dr =MessageBox.Show("ban co muon tro ve trang chu(mainLPS) khong", "thong bao", MessageBoxButtons.OKCancel, MessageBoxIcon.Information);
            if (dr == DialogResult.OK)
            {
                FormMainLPS f1 = new FormMainLPS();
                f1.Show();
                this.Close();
            }
        }

        private void button6_Click(object sender, EventArgs e)
        {
            DialogResult d1 = MessageBox.Show("ban chac chan muon thoat khoi Form Hoa Hong", "thong bao", MessageBoxButtons.OKCancel, MessageBoxIcon.Information);
            if (d1 == DialogResult.OK)
                this.Close();
        }

        private void button1_Click(object sender, EventArgs e)
        {

        }
    }
}
